<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>类选择器的使用t</title>
    <!-- 类选择器可以指定某个标签更改样式 -->
    <style>
        .color{
    color: blueviolet;
font-size: 20px;
        }
.font{
    font-size: 30px;
    color: aqua;
}
    </style>

</head>
<body>
    <p class="color">刘德华</p>
    <p class="font">周星驰</p>
    <p>薛之谦</p>

</body>
</html>